package com.bwie.common.exception;

import lombok.Data;

@Data
public class BusinessExceptions extends  RuntimeException{
    private String message;
    private String code;

    public BusinessExceptions(String message) {
        this.message = message;
    }

    public BusinessExceptions(String message, String code) {
        this.message = message;
        this.code = code;
    }
}
